package com.ai.controller.made;


import com.ai.annotation.EnterPathParamLog;
import com.ai.common.CommonResponse;
import com.ai.service.made.ICoalMaintenanceAlarmRecordInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *  单轨吊告警的详细信息
 * @author jiaok
 * @since 2024-10-30
 */
@RestController
@RequestMapping("/coal-maintenance-alarm-record-info")
public class CoalMaintenanceAlarmRecordInfoController {


    @Resource
    private ICoalMaintenanceAlarmRecordInfoService iCoalMaintenanceAlarmRecordInfoService;


    @ApiOperation("查询指定单轨吊告警的详细信息")
    @PostMapping("/maintenanceInfo/{id}")
    @EnterPathParamLog
    public CommonResponse maintenanceInfo(@PathVariable("id") String maintenanceAlarmRecordId) {
        return iCoalMaintenanceAlarmRecordInfoService.maintenanceInfo(maintenanceAlarmRecordId);
    }





}
